//2009/09/05 15:57:59
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class BirthdayOdds
{
public:
    int minPeople(int minOdds, int daysInYear)
    {
        int ret = 0;
        double total = 100.0;
        for (int i=daysInYear; i>=0; i--)
        {
			ret ++;
            total *= 1.0 * i / daysInYear;
            if (total <= 100 - minOdds)
                return ret;
        }
    }
};
